from wsgiref.simple_server import make_server


def application(environ, start_response):
    start_response('200 OK', [('Content-type','text/html')])
    body = '<h1>Hello, Wsgi!</h1> %s' % environ
    return [body.encode('utf-8')]


httpd = make_server('',8000,application)
print('Serving Http on Port 8000')
httpd.serve_forever()